package tianfeng.SecurityDemo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author tianfeng
 * @email tianfeng77133@163.com
 * @date 2021/4/5
 */
@RestController
public class Login {

   @RequestMapping("/user/login")
   public String login() {
       return "hello world";
   }

   @RequestMapping("/user/index")
    public String index() {
       return "hello world index !";
   }

}
